using System;
using System.Collections.Generic;
using System.Text;
using WMPLib;

namespace Emlyn.Applications.LochAlarm
{
    public class MediaItem
    {
        public MediaItem(string aDisplayName, IWMPMedia aMedia)
        {
            _displayName = aDisplayName;
            _media = aMedia;
        }

        private string _displayName;

        public string DisplayName
        {
            get { return _displayName; }
            set { _displayName = value; }
        }

        private IWMPMedia _media;

        public IWMPMedia Media
        {
            get { return _media; }
            set { _media = value; }
        }

        public override string ToString()
        {
            return _displayName;
        }
    }
}
